var express = require('express');
var app = express();
var router = require("./controller/router")

app.set("view engine","ejs");

// 路由中间件
// 静态页面
app.use("/static",express.static("./public"));
// 首页
app.get("/",router.showIndex);
app.get("/:albumName",router.showAlbum);

app.listen(3000);

